package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Account;
import com.itheima.exception.BusinessException;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.util.List;

/**
 * @author xiangjun.deng
 * email 17670934918dxj@sina.com
 * @date 2021/8/20 15:00
 * @desc
 */
public interface AccountService {
    void save(Account account) throws IOException;

    PageInfo<Account> findAll(Integer page, Integer size);
}
